<template>
  <div class="app-container">
    <el-form :inline="true" :model="TabPtdetailTailPatientVO" class="demo-form-inline">
        <el-form-item label="审批人">
          <el-input v-model="TabPtdetailTailPatientVO.patientId" placeholder="患者id"></el-input>
        </el-form-item>
        
        <el-form-item>
          <el-button type="primary" @click="onSubmit">查询</el-button>
        </el-form-item>
    </el-form>
    <el-table
      :data="list"
      style="width: 100%">
      <el-table-column
        label="序号"
        width="80">
        <template slot-scope="scope">
            {{ (pageNum - 1) * pageSize + scope.$index + 1 }}
        </template>
      </el-table-column>
      <el-table-column
        prop=""
        label="上传状态"
        width="80">
      </el-table-column>
      <el-table-column
        prop="name"
        label="院区"
        width="80">
      </el-table-column>
      <el-table-column
        prop="ptdtStatus"
        label="报告状态"
        width="90">
      </el-table-column>
      <el-table-column
        prop="ptdtCheckCode"
        label="检查号"
        width="110">
      </el-table-column>
      <el-table-column
        prop="patientId"
        label="患者ID"
        width="100">
      </el-table-column>
      <el-table-column
        prop="ptName"
        label="姓名"
        width="110">
      </el-table-column>
      <el-table-column
        prop="ptSex"
        label="性别"
        width="70">
      </el-table-column>
      <el-table-column
        prop="ptdtCheckMachine"
        label="检查项目类型"
        width="110">
      </el-table-column>
      <el-table-column
        prop="ptdtCheckName"
        label="检查项目"
        width="120">
      </el-table-column>
      <el-table-column
        prop="ptdtBgDoctor"
        label="报告医生"
        width="100">
      </el-table-column>
      <el-table-column
        prop="ptdtShDoctor"
        label="审核医生"
        width="100">
      </el-table-column>
      <el-table-column
        prop="ptdtInhosCode"
        label="住院号"
        width="110">
      </el-table-column>
      <el-table-column
        prop="ptdtDjDate"
        label="报告日期"
        width="120">
      </el-table-column>
      <el-table-column
        prop="ptdtSqdept"
        label="申请科室"
        width="110">
      </el-table-column>
    </el-table>
</div>
</template>

<script>
export default {
  props: {
    info: {
      type: Object,
      default: null
    }
  },
  data() {
    return {
      rules: {
        tableName: [
          { required: true, message: "请输入表名称", trigger: "blur" }
        ],
        tableComment: [
          { required: true, message: "请输入表描述", trigger: "blur" }
        ],
        className: [
          { required: true, message: "请输入实体类名称", trigger: "blur" }
        ],
        functionAuthor: [
          { required: true, message: "请输入作者", trigger: "blur" }
        ]
      }
    };
  }
};
</script>
